package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Device;
import com.example.demo.entity.User;
import com.example.demo.vo.CheckmanAndWpno;
import com.example.demo.vo.DeviceUserVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeviceMapper extends BaseMapper<Device> {

    CheckmanAndWpno selectCheckmanAndWpno(String billno, String c003);

    List<DeviceUserVo> selectDeviceUserVos(List<String> wsnos);
    void pushMessage(String phone, String data);

    List<String> getWsnosByTime(Integer hour,Integer minute);
}
